package com.hlkj.pay.app.merchant.ext.impl.huifu.dto.access;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.framework.common.util.json.JsonUtils;

import lombok.Data;
/**
 * @author HlpayTeam
 * @date 2024/10/17 12:54
 */
@Data
public class HuiFuAccessQueryDto extends HuiFuMerchantResponseDto {
	
	/**
	 * recon_resp_addr :
	 * qry_settle_config_list : [{"fee_rate":"0","min_amt":"0.00","out_settle_flag":"2","out_settle_huifuid":"","remained_amt":"0.00","settle_abstract":"我这里显示结算摘要","settle_cycle":"D1","settle_status":"1","settle_type":"1"}]
	 * area_id : 370700
	 * qry_cash_card_info_list : [{"area_id":"370700","bank_code":"88000000","bank_name":"山东省农村信用社联合社","branch_code":"","branch_name":"","card_name":"牛金","card_no":"6223200795373453","card_type":"1","cert_begin_date":"20170816","cert_end_date":"20370816","cert_no":"239005198907300781","cert_type":"00","cert_validity_type":"0","mp":"18263682039","prov_id":"370000","status":"N","token_no":"10014575391"}]
	 * cust_type : 2
	 * product_id : EDUSTD
	 * reg_name : 牛金
	 * prov_id : 370000
	 * legal_cert_begin_date : 20170816
	 * legal_cert_no : 239005198907300781
	 * contact_mobile_no : 18263682039
	 * resp_code : 00000000
	 * short_name : 山东省潍坊市过桥米线
	 * legal_cert_end_date : 20370816
	 * contact_email : 18263682039@qq.com
	 * legal_cert_validity_type : 0
	 * detail_addr : 山东省潍坊市奎文区奎文区
	 * legal_name : 牛金
	 * contact_name : 牛金
	 * legal_cert_type : 00
	 * resp_desc : 成功
	 * login_name : hxb1641893061111
	 * delay_flag : N
	 * district_id : 370705
	 * upper_huifu_id : 6666000107803321
	 */
	
	private String recon_resp_addr;
	private String area_id;
	private String cust_type;
	private String product_id;
	private String reg_name;
	private String prov_id;
	private String legal_cert_begin_date;
	private String legal_cert_no;
	private String contact_mobile_no;
	private String short_name;
	private String legal_cert_end_date;
	private String contact_email;
	private String legal_cert_validity_type;
	private String detail_addr;
	private String legal_name;
	private String contact_name;
	private String legal_cert_type;
	private String login_name;
	private String delay_flag;
	private String district_id;
	private String upper_huifu_id;
	private String apply_status;
	private String apply_reason;
	/**
	 * fee_rate : 0
	 * min_amt : 0.00
	 * out_settle_flag : 2
	 * out_settle_huifuid :
	 * remained_amt : 0.00
	 * settle_abstract : 我这里显示结算摘要
	 * settle_cycle : D1
	 * settle_status : 1
	 * settle_type : 1
	 */
	
	private String qry_settle_config_list;
	/**
	 * area_id : 370700
	 * bank_code : 88000000
	 * bank_name : 山东省农村信用社联合社
	 * branch_code :
	 * branch_name :
	 * card_name : 牛金
	 * card_no : 6223200795373453
	 * card_type : 1
	 * cert_begin_date : 20170816
	 * cert_end_date : 20370816
	 * cert_no : 239005198907300781
	 * cert_type : 00
	 * cert_validity_type : 0
	 * mp : 18263682039
	 * prov_id : 370000
	 * status : N
	 * token_no : 10014575391
	 */
	
	private String qry_cash_card_info_list;
	private String agreement_info_list;
	private String ali_conf_result_list;
	private String wx_conf_result_list;

	@Data
	public static class QrySettleConfigListBean {
		private String fee_rate;
		private String min_amt;
		private String out_settle_flag;
		private String out_settle_huifuid;
		private String remained_amt;
		private String settle_abstract;
		private String settle_cycle;
		private String settle_status;
		private String settle_type;
		
		
	}
	@Data
	public static class QryCashCardInfoListBean {
		private String area_id;
		private String bank_code;
		private String bank_name;
		private String branch_code;
		private String branch_name;
		private String card_name;
		private String card_no;
		private String card_type;
		private String cert_begin_date;
		private String cert_end_date;
		private String cert_no;
		private String cert_type;
		private String cert_validity_type;
		private String mp;
		private String prov_id;
		private String status;
		private String token_no;
		
	}
	@Data
	public static class AgreementInfoListBean {
		private String agreement_link;
		private String agreement_id;
		private String agreement_name;
		
	}

	public static void main(String[] args) {
		String jons="{\"resp_desc\":\"成功\",\"resp_code\":\"00000000\",\"apply_status\":\"Y\",\"agreement_info_list\":\"[{\\\"agreement_id\\\":\\\"20250224505118761859784704\\\",\\\"agreement_link\\\":\\\"sl.cloudpnr.com/1sgIiR\\\",\\\"agreement_name\\\":\\\"汇付支付账户使用承诺书\\\",\\\"agreement_no\\\":\\\"202502240204425645\\\",\\\"agreement_type\\\":\\\"0\\\",\\\"con_stat\\\":\\\"5\\\"},{\\\"agreement_id\\\":\\\"20250224505118761792675840\\\",\\\"agreement_link\\\":\\\"sl.cloudpnr.com/1sgIiR\\\",\\\"agreement_name\\\":\\\"入网协议\\\",\\\"agreement_no\\\":\\\"202502240204425644\\\",\\\"agreement_type\\\":\\\"0\\\",\\\"con_stat\\\":\\\"5\\\"}]\",\"reg_name\":\"湖北乾艺文化传媒有限公司\",\"huifu_id\":\"6666000162071232\"}";

		System.out.println(JsonUtils.parseObject(jons, HuiFuAccessQueryDto.class));
	}
}
